const util = require('../../utils/util')
const app = getApp();
// pages/info/info.js
Page({
  data: {
    api: app.globalData.api,
    infolist:[]
  },
  submitBuyerRequest()
  {
    
  },
  onLoad(options) {
    util.http('/info/list',resp=>{
      console.log(resp)
      this.data.infolist = resp
      this.setData(this.data)
    })
  },
  onReachBottom() {

  },

  onShareAppMessage() {

  },
  info(e){
    util.redirect('info')
  }
})